<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>openslp</Name>
        <Homepage>http://www.openslp.org/</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <IsA>service</IsA>
        <Summary>An open-source implementation of Service Location Protocol</Summary>
        <Description>Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks.</Description>
        <Archive sha1sum="e4630bfb986cdffab6bb829b37e9340c9152d838" type="targz">https://gitlab.com/sulinos/resources/binaries/raw/master/openslp-2.0.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>doxygen</Dependency>
            <Dependency>docbook-xsl</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>openslp-2.0.0-cflags.patch</Patch>
            <Patch>openslp-2.0.0-CVE-2016-4912.patch</Patch>
            <Patch>openslp-2.0.0-CVE-2012-4428.patch</Patch>
            <Patch>openslp-2.0.0-CVE-2016-7567.patch</Patch>
            <Patch>openslp-2.0.0-namespace.patch</Patch>
            <Patch>openslp-2.0.0-openssl-1.1-fix.patch</Patch>
        </Patches>

    </Source>

    <Package>
        <Name>openslp</Name>
        <RuntimeDependencies>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/slp.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/doc/openslp/html/IntroductionToSLP</Path>
            <Path fileType="doc">/usr/share/doc/openslp/html/UsersGuide</Path>
            <Path fileType="doc">/usr/share/doc/openslp/html/faq*</Path>
            <Path fileType="data">/var/log</Path>
        </Files>
    </Package>

    <Package>
        <Name>openslp-server</Name>
        <Summary>OpenSLP server daemon</Summary>
        <Description>openslp-server contains ths OpenSLP server daemon to dynamically register services.</Description>
        <RuntimeDependencies>
            <Dependency release="current">openslp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/init.d</Path>
            <Path fileType="config">/etc/slp.reg</Path>
            <Path fileType="config">/etc/slp.spi</Path>
            <Path fileType="executable">/usr/sbin/slpd</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/etc/init.d/slpd">slpd-init</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>openslp-devel</Name>
        <Summary>Development files for openslp</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openslp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="doc">/usr/share/doc/openslp/html/ProgrammersGuide</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2020-04-24</Date>
            <Version>2.0.0</Version>
            <Comment>First release for SulinOS 2021</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
